/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.gac.gacmod.genetics;

import org.gac.api.genetics.Chromosome;
import org.gac.api.genetics.Population;




/**
 *
 * @author Tomek
 */
public class ExecutionOutput {

    private Chromosome _solution;
    private boolean _stop;
    private Population _population;

    public ExecutionOutput( Chromosome solution, boolean stop, Population population )
    {
        _solution = solution;
        _stop = stop;
        this._population = population;
    }

    public Population getPopulation()
    {
        return _population;
    }

    /**
     * @return the _solution
     */
    public Chromosome getSolution()
    {
        return _solution;
    }

    /**
     * @param solution the solution to set
     */
    public void setSolution(Chromosome solution)
    {
        this._solution = solution;
    }

    /**
     * @return the _stop
     */
    public boolean isStop()
    {
        return _stop;
    }

}
